%% -*- mode: erlang;erlang-indent-level: 4;indent-tabs-mode: nil -*-
%% ex: ts=4 sw=4 ft=erlang et

{require_min_otp_vsn, "R17"}.

%% fail_on_warning, 
{erl_opts, [debug_info, {parse_transform, lager_transform}]}.

{erl_opts, [warn_export_all,
            warn_unused_import,
            {i, "include"},
			{src_dirs, ["src"]}]}.

{eunit_opts, [verbose]}.

{xref_checks, [undefined_function_calls]}.
{cover_enabled, true}.

{validate_app_modules, true}.

{sub_dirs, [
    "rel",
    "apps/*/",
    "plugins/*/"]}.

{deps, [
	{gproc, "0.4.*", {git, "git://github.com/uwiger/gproc.git", {branch, "master"}}},
	{lager, ".*", {git, "git://github.com/basho/lager.git", {branch, "master"}}},
	{esockd, "2.*", {git, "git://github.com/emqtt/esockd.git", {branch, "master"}}},
	{mochiweb, ".*", {git, "git://github.com/emqtt/mochiweb.git", {branch, "master"}}}
]}.

{recursive_cmds, [ct, eunit, clean]}.
